Fatal error: Uncaught Exception: Column 'topic_id' in on clause is ambiguous query: SELECT SQL_CALC_FOUND_ROWS SQL_CALC_FOUND_ROWS market_topic.*, market_cat.name FROM market_topic LEFT JOIN market_cat_topic on market_topic.id = market_cat_topic.topic_id LEFT JOIN market_cat on market_cat_topic.cat_id = market_cat.id LEFT JOIN market_topic_field on market_topic.id = topic_id WHERE field_id = ? AND market_topic.state = ? GROUP BY market_topic.id ORDER BY up_date DESC LIMIT 0, 30 in /var/www/sohot.vn/web/library/vendor/joshcam/mysqli-database-class/MysqliDb.php:1926
Stack trace:
#0 /var/www/sohot.vn/web/library/vendor/joshcam/mysqli-database-class/MysqliDb.php(1519): MysqliDb->_prepareQuery()
#1 /var/www/sohot.vn/web/library/vendor/joshcam/mysqli-database-class/MysqliDb.php(686): MysqliDb->_buildQuery(Array)
#2 /var/www/sohot.vn/web/library/vendor/joshcam/mysqli-database-class/MysqliDb.php(2312): MysqliDb->get('market_topic', Array, 'market_topic.*,...')
#3 /var/www/sohot.vn/web/library/vendor/joshcam/mysqli-database-c in /var/www/sohot.vn/web/library/vendor/joshcam/mysqli-database-class/MysqliDb.php on line 1926